package com.lcredu.seckill.mapper;

import com.lcredu.seckill.pojo.SeckillGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcredu.seckill.vo.GoodsVo;

import java.util.List;

/**
 * @author 18442
 * @description 针对表【t_seckill_goods(秒杀活动商品信息表（记录秒杀价、库存及时间范围）)】的数据库操作Mapper
 * @createDate 2025-08-26 22:03:30
 * @Entity com.lcredu.seckill.pojo.SeckillGoods
 */
public interface SeckillGoodsMapper extends BaseMapper<SeckillGoods> {

    //返回所有的秒杀商品
    List<GoodsVo> listGoodsVos();
    
    //返回秒杀列表详情页
    GoodsVo getGoodsVoById(Long goodsId);
}




